package cn.cqvie.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.PipedReader;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class ShoppingCart implements Serializable {
    private static final Long serialVersionID=1L;

    private Long id;

    private String name;

    private String image;

    private Long userId;

    private Long cakeId;

    private Integer number;

    private Integer amount;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
